package com.dubbo.product.service;

import com.dubbo.api.ProductServiceApi;
import com.dubbo.pojo.Product;

import java.util.List;


public interface ProductService extends ProductServiceApi {
    public List<Product> showList();

    public Product showOne(int id);

    public Product showOne2(int id);
    //修改缓存数据库
    public void updateCache(int id);
    public Product updateCache2(int id);

    //删除缓存数据
    //手动
    public  void deletecache(int id);
    //注释
    public  void deletecache2(int id);

    Long singTo(String userid);
}
